package com.org.csu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.org.csu.pojo.Record;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface recordMapper extends BaseMapper<Record> {
    @Select("SELECT * FROM userrecord WHERE userId = #{userId}")
    List<Record> findByUserId(Integer userId);
}
